package cn.zwx.goods.svc;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhangwenxue
 */
@EnableDubbo
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan("cn.zwx.goods.svc.mapper")
@SpringBootApplication
public class GoodsSvcApplication {

	public static final Logger logger = LoggerFactory.getLogger(GoodsSvcApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(GoodsSvcApplication.class, args);
		logger.info("GoodsSvcApplication init success !!");
	}

}
